package com.bao.work.idcard;

import com.bao.work.idcard.enum1.Sex;

/**
 * @author baoye
 * @date 2024-07-31/18:34
 */
public class People {
    private String cardId;
    private String name;
    private Sex sex;
    private String address;

    public People() {
    }

    @Override
    public String toString() {
        return name+"\t"+cardId+"\t"+sex+"\t"+address;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Sex getSex() {
        return sex;
    }

    public void setSex(Sex sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public People(String cardId, String name, Sex sex, String address) {
        this.cardId = cardId;
        this.name = name;
        this.sex = sex;
        this.address = address;
    }
}
